package com.solt.prism.core.wrapper;

import org.lobobrowser.html.test.SimpleUserAgentContext;

/**
 * @author thienlong
 *
 */
public class LocalUserAgentContext extends SimpleUserAgentContext {
	@Override
	public boolean isScriptingEnabled() {
		// We don't need Javascript for this.
		return false;
	}

	@Override
	public boolean isExternalCSSEnabled() {
		// We don't need to load external CSS documents.
		return false;
	}

	@Override
	public String getUserAgent() {
		return "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1";
	}		
}